using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class DocGiaDTO
    {
                #region Attributes
        private String _MaDocGia;
        private String _MatKhau;

        private String _HoTen;
        private String _DiaChi;
        private String _Email;
        private DateTime _NgaySinh;
        private String _DienThoai;
        #endregion 

        #region Properties 
        public String DienThoai
        {
            get { return _DienThoai; }
            set { _DienThoai = value; }
        }

        public String MatKhau
        {
            get { return _MatKhau; }
            set { _MatKhau = value; }
        }

        public DateTime NgaySinh
        {
            get { return _NgaySinh; }
            set { _NgaySinh = value; }
        }

        public String Email
        {
            get { return _Email; }
            set { _Email = value; }
        }

        public String DiaChi
        {
            get { return _DiaChi; }
            set { _DiaChi = value; }
        }

        public String HoTen
        {
            get { return _HoTen; }
            set { _HoTen = value; }
        }

        public String MaDocGia
        {
            get { return _MaDocGia; }
            set { _MaDocGia = value; }
        }
        #endregion 
        #region Constructors 

        public DocGiaDTO()
        {
            MaDocGia = "";
            MatKhau = "";
            HoTen = "";
            DiaChi = "";
            Email = "";
            NgaySinh = DateTime.Now;
            DienThoai = "";
        }

        public DocGiaDTO(string madocgia, string matkhau,string hoten,string diachi,string email,DateTime ngaysinh,string dienthoai)
        {
            MaDocGia = madocgia;
            MatKhau = matkhau;
            HoTen = hoten;
            DiaChi = diachi;
            Email = email;
            NgaySinh = ngaysinh;
            DienThoai = dienthoai;
        }
        #endregion 
    }
}
